package com.ktgj.customer.mapper;

import java.util.List;
import com.ktgj.customer.domain.BusinessOrderAssist;

/**
 * 购卡订单辅营产品Mapper接口
 * 
 * @author ruoyi
 * @date 2022-10-21
 */
public interface BusinessOrderAssistMapper 
{
    /**
     * 查询购卡订单辅营产品
     * 
     * @param id 购卡订单辅营产品ID
     * @return 购卡订单辅营产品
     */
    public BusinessOrderAssist selectBusinessOrderAssistById(Long id);

    /**
     * 根据订单号查询
     * @param orderNum
     * @return
     */
    public List<BusinessOrderAssist> queryBusinessOrderAssistByOrderNum(String orderNum);

    /**
     * 查询购卡订单辅营产品列表
     * 
     * @param businessOrderAssist 购卡订单辅营产品
     * @return 购卡订单辅营产品集合
     */
    public List<BusinessOrderAssist> selectBusinessOrderAssistList(BusinessOrderAssist businessOrderAssist);

    /**
     * 新增购卡订单辅营产品
     * 
     * @param businessOrderAssist 购卡订单辅营产品
     * @return 结果
     */
    public int insertBusinessOrderAssist(BusinessOrderAssist businessOrderAssist);

    /**
     * 修改购卡订单辅营产品
     * 
     * @param businessOrderAssist 购卡订单辅营产品
     * @return 结果
     */
    public int updateBusinessOrderAssist(BusinessOrderAssist businessOrderAssist);

    /**
     * 删除购卡订单辅营产品
     * 
     * @param id 购卡订单辅营产品ID
     * @return 结果
     */
    public int deleteBusinessOrderAssistById(Long id);

    /**
     * 批量删除购卡订单辅营产品
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteBusinessOrderAssistByIds(Long[] ids);
}
